class CouponItemEntity {
  String? marketingId;
  String? couponId;
  String? name;
  String? begindate;
  String? enddate;
  String? validityType;
  String? validityStartTime;
  String? validityEndTime;
  String? type;
  String? goodsType;
  String? content;
  String? drop;
  int? actSuper;
  String? actSuperStr;
  int? getLimit;
  int? userTrue;
  int? targetType;
  List? userInfo;

  CouponItemEntity(
      {this.marketingId,
      this.couponId,
      this.name,
      this.begindate,
      this.enddate,
      this.validityType,
      this.validityStartTime,
      this.validityEndTime,
      this.type,
      this.goodsType,
      this.content,
      this.drop,
      this.actSuper,
      this.actSuperStr,
      this.getLimit,
      this.userTrue,
      this.targetType,
      this.userInfo});

  CouponItemEntity.fromJson(Map<String, dynamic> json) {
    marketingId = json['marketingId'];
    couponId = json['couponId'];
    name = json['name'];
    begindate = json['begindate'];
    enddate = json['enddate'];
    validityType = json['validityType'];
    validityStartTime = json['validityStartTime'];
    validityEndTime = json['validityEndTime'];
    type = json['type'];
    goodsType = json['goodsType'];
    content = json['content'];
    drop = json['drop'];
    actSuper = json['actSuper'];
    actSuperStr = json['actSuperStr'];
    getLimit = json['getLimit'];
    userTrue = json['userTrue'];
    targetType = json['targetType'];
    userInfo = json['userInfo'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['marketingId'] = this.marketingId;
    data['couponId'] = this.couponId;
    data['name'] = this.name;
    data['begindate'] = this.begindate;
    data['enddate'] = this.enddate;
    data['validityType'] = this.validityType;
    data['validityStartTime'] = this.validityStartTime;
    data['validityEndTime'] = this.validityEndTime;
    data['type'] = this.type;
    data['goodsType'] = this.goodsType;
    data['content'] = this.content;
    data['drop'] = this.drop;
    data['actSuper'] = this.actSuper;
    data['actSuperStr'] = this.actSuperStr;
    data['getLimit'] = this.getLimit;
    data['userTrue'] = this.userTrue;
    data['targetType'] = this.targetType;
    data['userInfo'] = this.userInfo;
    return data;
  }
}